package com.gskj.statstics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author : Connor-G 康纳-郭
 * @date : 18:04 20.9.10
 * @Company : http://www.gskj.club
 * @Version : 1.0
 */

@SpringBootApplication
@ComponentScan(basePackages = {"com.gskj"})
@EnableDiscoveryClient// 用于服务发现
@EnableFeignClients // 调用服务
@EnableScheduling// 开启定时任务
@MapperScan("com.gskj.statstics.mapper")
public class StaApplication {
    public static void main(String[] args) {
        SpringApplication.run(StaApplication.class, args);
    }
}
